fix expander's +/- part coloration
authorcinamod <cinamod>
Mon, 1 Dec 2003 18:56:34 +0000 (18:56 +0000)
committercinamod <cinamod>
Mon, 1 Dec 2003 18:56:34 +0000 (18:56 +0000)
modules/engines/ms-windows/ChangeLog.old
modules/engines/ms-windows/wimp_style.c

index bd82d3b67b19bdae68499b1f0850b16d8b925b2e..b3140cea7fd8c705bcfc5e783fd2597c2c1f41e4 100755 (executable)
@@ -1,3 +1,8 @@
+2003-12-01  Dom Lachowicz <cinamod@hotmail.com>\r
+\r
+       * src/wimp_style.c: Fix coloration for the expander's +/- part. Was\r
+       the wrong color when selected or selected+insensitive\r
+       \r
 2003-11-26  Dom Lachowicz <cinamod@hotmail.com>\r
 \r
        * src/wimp_style.c: Fix coloration for several GIMP widgets,\r
index 23c0dd0e44403e421cf14ecd5040127828f50b90..4a12cd8af8ca0ebeb74f39a8069beee943620e04 100755 (executable)
@@ -898,9 +898,6 @@ draw_expander(GtkStyle      *style,
         (window, style->fg_gc[state], FALSE, x, y,
          expander_size - 1, expander_size - 1);
 
-      if (success)
-        gdk_gc_set_foreground (style->fg_gc[state], &values.foreground);
-
       gdk_draw_line
         (window, style->fg_gc[state], x + 2, y + expander_semi_size,
          x + expander_size - 2, y + expander_semi_size);
@@ -914,6 +911,9 @@ draw_expander(GtkStyle      *style,
              x + expander_semi_size, y + expander_size - 2);
           break;
         }
+
+      if (success)
+        gdk_gc_set_foreground (style->fg_gc[state], &values.foreground);
     }
 
   if (area)